package com.superjson.showpro.base.dialect;

import org.hibernate.dialect.MySQLDialect;

/**
 * Created By zby on 11:28 2019/6/14
 * 重新实现接口
 */

public class MySQLInnodbDialogUtf8 extends MySQLDialect {

    @Override
    public boolean supportsCascadeDelete() {
        return true;
    }

    @Override
    public String getTableTypeString() {
        return " ENGINE=InnoDB DEFAULT CHARSET=utf8";
    }

    @Override
    public boolean hasSelfReferentialForeignKeyBug() {
        return true;
    }


}
